﻿using System;
using DHJ.Cost.Dto;
using DHJ.Cost.Timing;
using JetBrains.Annotations;

namespace DHJ.Cost.RealTimeCost.Dto
{
    public class GetEstimatedCostsInput: PagedSortedAndFilteredInputDto
    {

        public string BatchId { get; set; }
        public int? Year { get; set; }
        public int? Month { get; set; }

        public string Workshop { get; set; }

        public Time GetTime()
        {
            return new Time(Year??DateTime.Today.Year, Month ?? DateTime.Today.Month);
        }
    }
}
